package com.example.personaldemo.service;

import com.example.personaldemo.entity.User;
import com.example.personaldemo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public int save_account(User user) {
       return userMapper.save_account(user);
    }

}
